package top.rushpeak.edu03.service.mq;

import java.util.Map;

import top.rushpeak.edu03.core.mq.EventEnum;
import top.rushpeak.edu03.core.mq.HandMessageListener;
import top.rushpeak.edu03.core.mq.MessageContent;

public class Test1Listener extends HandMessageListener {

	@Override
	public EventEnum[] getActionEnum() {
		return new EventEnum[] { EventEnum.TEST1 };
	}

	@Override
	public void onReceiveMessage(Map<String, String> data) {
		LOG.info("Test1Listener  param:" + data);
		System.out.println("Test1Listener  param:" + data);
	}

	@Override
	public <T> void onReceiveMessage(MessageContent<T> msg) {		
	}

}
